<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文档管理系统</title>
    <link rel="ICON" href="img/favicon.ico">
    <link rel="SHORTCUT ICON" href="img/favicon.ico">
    <script type="text/javascript" src="jQuery/jquery-3.1.1.min.js"></script>
    <script src="jQuery/jQueryAjaxListenner.js"></script>
    <script type="text/javascript" src="js/util/arrUtil.js"></script>
    <link rel="stylesheet" href="bootstrap-3.3.7/dist/css/bootstrap.min.css"/>
    <!--Easyui-->
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/bootstrap/easyui.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon_expand.css"/>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.expand.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-dnd.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-filter/datagrid-filter.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery-easyui-etree/jquery.etree.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery-easyui-etree/jquery.etree.lang.js"></script>
    <link rel="stylesheet" href="KendoUI/styles/kendo.common.min.css"/>
    <link rel="stylesheet" href="KendoUI/styles/kendo.default.min.css"/>
    <script type="text/javascript" src="KendoUI/js/jszip.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/kendo.all.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/messages/kendo.messages.zh-CN.min.js"></script>
    <script type="text/javascript" src="bootstrap-3.3.7/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery-easyui-edatagrid/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-export/datagrid-export.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <link rel="stylesheet" href="css/home.css">
</head>
<body>
<div class="easyui-layout" data-options="fit:true">
    <div class="title-group" data-options="region:'north',height:40">
        <span class="pull-left" style="font-size: medium;line-height: 38px;">
            <b>&nbsp;&nbsp;&nbsp;&nbsp;常熟市华银焊料有限公司-档案管理系统</b>
        </span>
        <div class="pull-right">
            <div class="pull-left" style="line-height: 38px;">
                <span style="font-size: 12px;"><b>当前用户：</b></span>
                <span id="user" style="font-size: 12px;"></span>
            </div>
            <div class="pull-right" style="line-height: 37px;">
                <a style="color: #ffffff" class="easyui-linkbutton"
                   data-options="iconCls:'icon-edit',plain:true">修改密码</a>
                <a style="color: #ffffff" class="easyui-linkbutton"
                   data-options="iconCls:'icon-cancel',plain:true,onClick:btn_logout">注销</a>
            </div>
        </div>
    </div>
    <div data-options="region:'center'">
        <div class="easyui-tabs" data-options="fit:true,onSelect:function(title){
               switch (title){
                   case '回收站':
                   let k1 = $('#page_recycle_doc_grid').data('kendoGrid');
                   let k2 = $('#page_recycle_emp_grid').data('kendoGrid');
                   if(k1 != undefined){
                        k1.dataSource.read();
                   }
                   if(k2 != undefined){
                        k1.dataSource.read();
                   }
                   break;
               }
        }">
            <div data-options="title:'文件档案',iconCls:'icon-gur-book',href:'pages/page_document.html'"></div>
            <div data-options="title:'员工档案',iconCls:'icon-man',href:'pages/page_employee.html'"></div>
            <div data-options="title:'回收站',iconCls:'icon-gur-recycle-bin',href:'pages/page_recycle_bin.html'"></div>
            <div data-options="title:'基础资料',iconCls:'icon-gur-newspaper',href:'pages/page_basic_data.html'"></div>
        </div>
    </div>
    <div data-options="region:'south',height:'auto'">
        <div style="display: none;" id="window_view" class="easyui-window"></div>
    </div>
</div>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>